#ifndef __LOGIN_MESSAGE_HANDLER_H__
#define __LOGIN_MESSAGE_HANDLER_H__

#include "../engine/PacketProcessor.h"

class CLoginMsgHandler
{
	SINGLETON_CLASS(CLoginMsgHandler)
public:
	CLoginMsgHandler();
	virtual ~CLoginMsgHandler();

	void OnUserLogin(xMSG& msg);
	void OnUserLogin_r(xMSG& msg);
	void OnUserReg(xMSG& msg);
protected:
	void Reg();
	void UnReg();
};
#endif //__LOGIN_MESSAGE_HANDLER_H__